import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
data=pd.Series(np.random.randn(1000))
data=data.cumsum()
data.plot()
plt.show()
